<?php


ini_set('display_errors', 1);
require_once '/data/wwwroot/g_vendor/autoload.php';

$uid = $argv[1] ?? 0;
$work = $argv[2] ?? 1;

if ($work == 1) \Biz\service\brand\BrandGrowth::levelTaskPublish($uid);
if ($work == 2) \Biz\service\brand\BrandGrowth::levelTaskClaim($uid);
if ($work == 3) \Biz\service\brand\BrandGrowth::levelTaskJoin($uid);
if ($work == 4) \Biz\service\brand\BrandGrowth::dailyTaskPublish($uid);
if ($work == 5) \Biz\service\brand\BrandGrowth::dailyTaskClaim($uid);
if ($work == 6) \Biz\service\brand\BrandGrowth::dailyTaskClaimWiki($uid);
if ($work == 7) \Biz\service\brand\BrandGrowth::dailyTaskFeatured($uid);
if ($work == 8) \Biz\service\brand\BrandGrowth::dailyTaskLiked($uid);
if ($work == 9) \Biz\service\brand\BrandGrowth::dailyTaskReviewed($uid);
if ($work == 10) \Biz\service\brand\BrandGrowth::primaryTaskDone($uid);
if ($work == 11) \Biz\service\brand\BrandGrowth::upgrade($uid);